package com.zaizai.zaizai_good.domain.pojo;

import com.zaizai.zaizai_good.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品对象 goods
 *
 * @author lql
 * @date 2024-10-03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Good extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 货名 */
    private String name;

    /** 仓库 */
    private Long storageId;

    /** 分类 */
    private Long goodstypeId;

    /** 数量 */
    private Long count;

    /** 价格 */
    private Long price;

    /** 图片 */
    private String photo;
}
